var app = getApp();
var util = require("../../utils/util.js");
var siteinfo = require('../../siteinfo.js');
Page({
    data: {
        description:[]
    },
    onLoad: function (options) {
      this.getDetail(options);
    },
    onShow: function () {
       
    },
	// 获取详情信息
	getDetail: function (options) {
	  var _this = this
	  console.log("options",options)
	  app._get(siteinfo.getUserCertificate, {
	    certificateNumber:options.certificateNumber,
	    idNumber: options.idNumber,
	    name: options.name,
	  }, function (result) {
	    _this.setData({
	      description: result.data
	    });
	  })
	},
})